var mongoose = require('./db')

var aModel = new mongoose.Schema({
    name: String,
    price: String,
    jl: String,
    cate: String,
})

var gwc = new mongoose.Schema({
    name: String,
    price: String,
    num: Number
})

var aSchema = mongoose.model('a', aModel, 'a')
var gwcSchema = mongoose.model('gwc', gwc, 'gwc')

module.exports={
    aSchema,
    gwcSchema
}